package com.bestcem.xm.ticket.enums;

import lombok.Getter;

/**
 * @author liheng
 * @version v1.0
 * @date 2021/8/20 15:56
 */
@Getter
public enum NotifyConfigPeriodEnum {

    /**
     * DAY
     */
    DAILY(1, "day"),

    /**
     * WEEKLY
     */
    WEEKLY(2, "week"),

    /**
     * MONTHLY
     */
    MONTHLY(3, "month"),

    /**
     * QUARTERLY
     */
    QUARTERLY(4, "quarter");

    private final String name;
    private final Integer index;


    NotifyConfigPeriodEnum(Integer index, String name) {
        this.name = name;
        this.index = index;
    }
}
